<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Episode_script_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-episode_script_id" data-rule="required" data-source="episode/script/index" class="form-control selectpage" name="row[episode_script_id]" type="text" value="{$row.episode_script_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Episode_info_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-episode_info_id" data-rule="required" data-source="episode/info/index" class="form-control selectpage" name="row[episode_info_id]" type="text" value="{$row.episode_info_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Episode_barrage_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-episode_barrage_id" data-rule="required" data-source="episode/barrage/index" class="form-control selectpage" name="row[episode_barrage_id]" type="text" value="{$row.episode_barrage_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Time_val')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time_val" class="form-control" name="row[time_val]" type="number" value="{$row.time_val|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Like_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-like_num" class="form-control" name="row[like_num]" type="number" value="{$row.like_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tread_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tread_num" class="form-control" name="row[tread_num]" type="number" value="{$row.tread_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lang_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-lang_type" class="form-control selectpicker" name="row[lang_type]">
                {foreach name="langTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.lang_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
